package com.sdk.exception;


import com.sdk.constant.ErrorCode;

/**
 * 自定义异常类
 *
 * @author llnf create on 2024/12/25 20:04
 */
public class CustomException extends RuntimeException {

    private static final long serialVersionUID = 6655164451288057079L;

    public CustomException() {
        super();
    }

    public CustomException(ErrorCode code) {
        super(code.getMsg());
    }


}
